<style>
    .pageContanier{
        position: relative;
        padding: 10px;
    }
    .bottomBtn {
        position: fixed;
        left: 0px;
        bottom: 0px;
        width: 100%;
        z-index: 2000;
    }
    .text-info{
      color: #85AEDC;
    }
</style>
<div class="pageContanier" ng-controller="qusetionCtrl">
    <div style="margin-bottom: 50px" ng-show="questionGroup.length != 0">
        <h2 class="text-center m-b-md" ng-bind="qusetionTitle">问卷调查列表</h2>
        <div class="m-t-sm" ng-repeat="item in questionGroup">
            <div class="weui-cells__title">
                <span>{{$index+1}}.</span>
                <span>{{item.groupName}}</span>
                <span ng-if="item.type == 'single'">(单选)</span>
                <span ng-if="item.type == 'multiple'">(多选)</span>
                <span ng-if="item.type == 'point'">(五星满分)</span>
                <span ng-if="item.type == 'text'">(选填)</span>
            </div>
            <div class="weui-cells weui-cells_checkbox" ng-if="item.type == 'single'">
                <label class="weui-cell weui-check__label" ng-repeat="answer in item.answerList" >
                    <div class="weui-cell__hd">
                        <input type="radio" class="weui-check" ng-value="answer.id" ng-model="item.chooseAnswer" >
                        <i class="weui-icon-checked"></i>
                    </div>
                    <div class="weui-cell__bd">
                        <p>{{answer.answerName}}</p>
                    </div>
                </label>
            </div>
            <div class="weui-cells weui-cells_checkbox" ng-if="item.type == 'multiple'">
                <label class="weui-cell weui-check__label" ng-repeat="answer in item.answerList" >
                    <div class="weui-cell__hd">
                        <input type="checkbox" class="weui-check" ng-model="answer.isChoose">
                        <i class="weui-icon-checked"></i>
                    </div>
                    <div class="weui-cell__bd">
                        <p>{{answer.answerName}}</p>
                    </div>
                </label>
            </div>
            <div class="weui-cells" ng-if="item.type == 'point'"  style="padding-left: 20px;padding-top: 3px">
                <img height="32" width="32" ng-repeat="img in item.imgSrcs"  ng-src="{{img.src}}" ng-click="chooseImg_click(item,$index)"/>
                <span class="weui-cells__tips" ng-bind="item.msg" ng-class="{'text-info':item.msg != '吐槽' && item.msg != '较差'}">吐槽</span>
            </div>
            <div class="weui-cells weui-cells_form"  ng-if="item.type == 'text'">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" placeholder="欢迎提出任何建议哦" rows="3"
                                  ng-model="item.msg"></textarea>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="bottomBtn" ng-show="questionGroup.length != 0">
        <a href="javascript:;" class="weui-btn weui-btn_primary no-radius" ng-click="btnSubmit_click()">提交</a>
    </div>
    <div style="display: flex;justify-content: center;align-items: center;width: 100%"  ng-show="questionGroup.length == 0">
        <span class="weui-cells__title">{{data.note}}</span>
    </div>
</div>